package com.iwe3.operation.service;

import com.iwe3.operation.dto.LoginDto;
import com.iwe3.operation.entity.ManagerEntity;

import com.iwe3.operation.mapper.ManagerMapper;
import org.springframework.stereotype.Service;

@Service
public class ManagerServiceImpl implements IManagerService {

    private final ManagerMapper managerMapper;

    public ManagerServiceImpl(ManagerMapper managerMapper) {
        this.managerMapper = managerMapper;
    }

    @Override
    public ManagerEntity login(LoginDto dto) {
        return managerMapper.login(dto);
    }
}
